package com.crcode.crm.dao.log;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.crcode.crm.bean.log.DataLogBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 业务数据层接口
 * @author lxw
 * @date 2019年4月9日
 */
public interface DataLogDao extends JpaSpecificationExecutor<DataLogBean>, JpaRepository<DataLogBean, Integer> {

    /**
     * 根据uuid集合删除
     *
     * @param ids
     * @return
     */
    @Transactional
    public int deleteDataLogBeanByIdIn(List<String> ids);
    public  DataLogBean findDataLogBeanById(Integer id);


}
